package com.cooldatasoft.taskManager.component;

import com.cooldatasoft.domain.model.User;
import com.vaadin.addon.calendar.event.BasicEvent;

public class MyCalendarEvent extends BasicEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private long ident;
	private User user;
	
	public long getIdent() {
		return ident;
	}
	
	public void setIdent(long ident) {
		this.ident = ident;
	}
	
	public User getUser() {
		return user;
	}
	
	public void setUser(User user) {
		this.user = user;
	}
	
	@Override
	public String toString() {
		return "EVENT: \nid: " + ident + " \nstart: " + getStart() + " \nend: " + getEnd() + " \ncaption: " + getCaption() + " \ndescription: " + getDescription();
	}
}
